package com.zdb.defaultFunctiion;

import java.util.function.Consumer;
import java.util.function.Supplier;

public class User {
    private String name;
    public static void test(Integer a) {
        System.out.println(111);
    }
    public static void main(String[] args) {
        Supplier<User> aNew = User::new;
        User user = aNew.get();
        Consumer<Integer> test = User::test;
        test.accept(1);
    }
}
